We are dropping the plus.
-GTK+ — The GTK toolkit
-======================
+GTK — The GTK toolkit
+=====================
[](https://gitlab.gnome.org/GNOME/gtk/pipelines)
General information
-------------------
-GTK+ is a multi-platform toolkit for creating graphical user interfaces.
-Offering a complete set of widgets, GTK+ is suitable for projects ranging
+GTK is a multi-platform toolkit for creating graphical user interfaces.
+Offering a complete set of widgets, GTK is suitable for projects ranging
from small one-off projects to complete application suites.
-GTK+ is free software and part of the GNU Project. However, the
-licensing terms for GTK+, the GNU LGPL, allow it to be used by all
+GTK is free software and part of the GNU Project. However, the
+licensing terms for GTK, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without any
license fees or royalties.
Building and installing
-----------------------
-In order to build GTK+ you will need:
+In order to build GTK you will need:
- [a C99 compatible compiler](https://wiki.gnome.org/Projects/GLib/CompilerRequirements)
- [Python 3](https://www.python.org/)
- Wayland-cursor
- Wayland-EGL
-Once you have all the necessary dependencies, you can build GTK+ by using
+Once you have all the necessary dependencies, you can build GTK by using
Meson:
```sh
$ meson test
```
-And, finally, you can install GTK+ using:
+And, finally, you can install GTK using:
```
$ sudo ninja install
* Information about your system. For instance:
- - which version of GTK+ you are using
+ - which version of GTK you are using
- what operating system and version
- for Linux, which distribution
- - if you built GTK+, the list of options used to configure the build
+ - if you built GTK, the list of options used to configure the build
And anything else you think is relevant.
Release notes
-------------
-The release notes for GTK+ are part of the migration guide in the API
+The release notes for GTK are part of the migration guide in the API
reference. See:
- [3.x release notes](https://developer.gnome.org/gtk3/unstable/gtk-migrating-2-to-3.html)
Licensing terms
---------------
-GTK+ is released under the terms of the GNU Lesser General Public License,
+GTK is released under the terms of the GNU Lesser General Public License,
version 2.1 or, at your option, any later version, as published by the Free
Software Foundation.
+++ /dev/null
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-targets=@GDK_BACKENDS@
-
-gtk_binary_version=@GTK_BINARY_VERSION@
-gtk_host=@host@
-
-Name: GTK+
-Description: GTK+ Graphical UI Library
-Version: @VERSION@
-Requires: @GDK_PACKAGES@ @GSK_PACKAGES@ @GTK_PACKAGES@
-Requires.private: @GDK_PRIVATE_PACKAGES@ @GSK_PRIVATE_PACKAGES@ @GTK_PRIVATE_PACKAGES@
-Libs: -L${libdir} -lgtk-4 @GDK_EXTRA_LIBS@ @GSK_EXTRA_LIBS@ @GTK_EXTRA_LIBS@
-Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GDK_EXTRA_CFLAGS@ @GSK_EXTRA_CFLAGS@ @GTK_EXTRA_CFLAGS@
+++ /dev/null
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-targets=@GDK_BACKENDS@
-
-gtk_binary_version=@GTK_BINARY_VERSION@
-gtk_host=@host@
-
-Name: GTK+
-Description: GTK+ Unix print support
-Version: @VERSION@
-Requires: gtk+-@GTK_API_VERSION@ @GTK_PACKAGES@
-Cflags: -I${includedir}/gtk-@GTK_API_VERSION@/unix-print
xmlns="http://usefulinc.com/ns/doap#">
<name xml:lang="en">gtk+</name>
- <shortname>gtk+</shortname>
+ <shortname>gtk</shortname>
<shortdesc xml:lang="en">Multi-platform toolkit</shortdesc>
- <description xml:lang="en">GTK+ is a multi-platform toolkit for creating graphical user
-interfaces. Offering a complete set of widgets, GTK+ is suitable for
+ <description xml:lang="en">GTK is a multi-platform toolkit for creating graphical user
+interfaces. Offering a complete set of widgets, GTK is suitable for
projects ranging from small one-off tools to complete application
suites.
-GTK+ has been designed from the ground up to support a range of
-languages, not only C/C++. Using GTK+ from languages such as Perl and
+GTK has been designed from the ground up to support a range of
+languages, not only C/C++. Using GTK from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development.
-GTK+ is free software and part of the GNU Project. However, the
-licensing terms for GTK+, the GNU LGPL, allow it to be used by all
+GTK is free software and part of the GNU Project. However, the
+licensing terms for GTK, the GNU LGPL, allow it to be used by all
developers, including those developing proprietary software, without
any license fees or royalties.</description>
<homepage rdf:resource="http://www.gtk.org/" />
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+targets=@GDK_BACKENDS@
+
+gtk_binary_version=@GTK_BINARY_VERSION@
+gtk_host=@host@
+
+Name: GTK
+Description: GTK Unix print support
+Version: @VERSION@
+Requires: gtk+-@GTK_API_VERSION@ @GTK_PACKAGES@
+Cflags: -I${includedir}/gtk-@GTK_API_VERSION@/unix-print
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+targets=@GDK_BACKENDS@
+
+gtk_binary_version=@GTK_BINARY_VERSION@
+gtk_host=@host@
+
+Name: GTK
+Description: GTK Graphical UI Library
+Version: @VERSION@
+Requires: @GDK_PACKAGES@ @GSK_PACKAGES@ @GTK_PACKAGES@
+Requires.private: @GDK_PRIVATE_PACKAGES@ @GSK_PRIVATE_PACKAGES@ @GTK_PRIVATE_PACKAGES@
+Libs: -L${libdir} -lgtk-4 @GDK_EXTRA_LIBS@ @GSK_EXTRA_LIBS@ @GTK_EXTRA_LIBS@
+Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GDK_EXTRA_CFLAGS@ @GSK_EXTRA_CFLAGS@ @GTK_EXTRA_CFLAGS@
pkg_install_dir = join_paths(get_option('libdir'), 'pkgconfig')
-pkgs = [ 'gtk+-4.0.pc' ]
+pkgs = [ 'gtk4.pc' ]
pkg_targets = ''
foreach backend: [ 'broadway', 'quartz', 'wayland', 'win32', 'x11', ]
if get_variable('@0@_enabled'.format(backend))
- pkgs += ['gtk+-@0@-4.0.pc'.format(backend)]
+ pkgs += ['gtk4-@0@.pc'.format(backend)]
pkg_targets += ' ' + backend
endif
endforeach
pkgconf.set('GDK_BACKENDS', pkg_targets.strip())
foreach pkg: pkgs
- configure_file(input: 'gtk+-4.0.pc.in',
+ configure_file(input: 'gtk4.pc.in',
output: pkg,
configuration: pkgconf,
install_dir: pkg_install_dir)
endforeach
if os_unix
- configure_file(input: 'gtk+-unix-print-4.0.pc.in',
- output: 'gtk+-unix-print-4.0.pc',
+ configure_file(input: 'gtk4-unix-print.pc.in',
+ output: 'gtk4-unix-print.pc',
configuration: pkgconf,
install_dir: pkg_install_dir)
endif
summary = [
'',
'------',
- 'GTK+ @0@ (@1@)'.format(gtk_version, gtk_api_version),
+ 'GTK @0@ (@1@)'.format(gtk_version, gtk_api_version),
'',
' Display backends: @0@'.format(pkg_targets.strip()),
' Print backends: @0@'.format(' '.join(print_backends)),